home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / sqlwrq.zip / NWSQLINT.H < prev    next >
Text File  |  1992-03-11  |  4KB  |  70 lines

  1. /*                                                                       */
  2. /*    This header file contains four configurable directives:            */
  3. /*                                                                       */
  4. /*      1.  OS Environment - DOS, OS/2, or Windows                       */
  5. /*      2.  C Compiler - WatCom, Microsoft, Turbo C                      */
  6. /*      3.  API Level Support                                            */
  7. /*      4.  Memory Model for Embedded SQL applications                   */
  8. /*                                                                       */
  9. /*    Choose one directive from each set to define the correct           */
  10. /*    compiler configuration.                                            */
  11. /*                                                                       */
  12.  
  13. #ifndef __intf_defined
  14.   #define  __intf_defined
  15.  
  16. /*-----------------------------------------------------------------------*/
  17. /*                                                                       */
  18. /*     1.  OS Environment                                                */
  19. /*         Define OS enviroment for correct selection of                 */
  20. /*         NetWare SQL API prototypes.                                   */
  21. /*                                                                       */
  22. /*        Choose one of the following by removing the comment markers    */
  23. /*        for the environment you are compiling for.  Then add           */
  24. /*        comment markers for the other directives.  If you use          */
  25. /*        only one of the environments, you may choose to delete the     */
  26. /*        other directives in this section.                              */
  27. /*                                                                       */
  28. #define NWSQL_DOSENV
  29. /*#define NWSQL_OS2ENV               */
  30. /*#define NWSQL_WINENV               */
  31.  
  32. /*-----------------------------------------------------------------------*/
  33. /*                                                                       */
  34. /*     2.  C Compiler                                                    */
  35. /*         Define the compiler by removing the comment markers for the   */
  36. /*         compiler of your choice, and adding comment markers for the   */
  37. /*         others.                                                       */
  38. /*                                                                       */
  39.  
  40. #define WATCOM
  41. /*#define MSC                        */
  42. /*#define TURBOC                     */
  43.  
  44. /*-----------------------------------------------------------------------*/
  45. /*                                                                       */
  46. /*     3.  API Level Support                                             */
  47. /*         By default, this interface includes support for both API      */
  48. /*         levels.  To disable support for one API level, add comment    */
  49. /*         markers around the API level you are not using.  If you       */
  50. /*         always use only one API level, you may choose to delete       */
  51. /*         the unnecessary directive.                                    */
  52. /*                                                                       */
  53.  
  54. #define  _NWSQL_SQL_FUNCTIONS
  55. #define  _NWSQL_RELATIONAL_PRIMITIVES
  56.  
  57. /*-----------------------------------------------------------------------*/
  58. /*                                                                       */
  59. /*     4.  Memory Model                                                  */
  60. /*         This directive is used by the Embedded SQL precomiler only.   */
  61. /*         If your embedded SQL application is compiled for the          */
  62. /*         COMPACT, LARGE, or HUGE memory model, remove the comments     */
  63. /*         around this directive.                                        */
  64. /*                                                                       */
  65. /*                                                                       */
  66. /*#define LMODEL                     */
  67.  
  68. #endif
  69. 
  70.